package com.jyw.business.ins.domain.dto.web;

import com.jyw.business.ins.domain.InsConfigItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author 沈峻
 * @ClassName ItemEditDto
 * @Description 巡检项编辑请求实体
 * @Date 2023/9/20 17:30
 **/
@Data
@ApiModel("巡检项编辑请求实体")
public class ItemEditDto extends ItemAddDto{

    @ApiModelProperty("配置项id")
    @NotNull(message = "配置项id不能为空")
    private Long id;

    @Override
    public InsConfigItem buildConfigItem() {
        return super.buildConfigItem();
    }
}
